IF GetProgramName(n,256)=0 THEN StrCopy(n,'KRSNAke')
AddPart(p,n,1024)
RETURN launchClient(p)
ENDPROC
PROC checkStubing()
DEF cd:PTR TO clockdata,secs:LONG,micros:LONG
NEW cd
CurrentTime({secs},{micros})
Amiga2Date(secs,cd)
IF (cd.mday=28) AND (cd.month=2) THEN EasyRequestArgs(NIL,[SIZEOF easystruct,0,'Halelujah!','Today, Gavin MacLeod is %ld years old!\n\nHappy Birthday, Captain Stubing!','Rejoice!'],NIL,[cd.year-1930])
IF (cd.mday=8) AND (cd.month=1) THEN EasyRequestArgs(NIL,[SIZEOF easystruct,0,'Elvis be praised!','Today the King is %ld years old!\nEnter your congratulation in alt.elvis.king now!','You ain''t nuthin'' but a hound dog!'],NIL,[cd.year-1935])
IF (cd.mday=13) AND (cd.month=10) THEN EasyRequestArgs(NIL,[SIZEOF easystruct,0,'Fnord!','On this very day, %ld years ago,\nJacques de Molay was arrested!','Good riddance!'],NIL,[cd.year-1307])
END cd
ENDPROC
krsnakever: CHAR '$VER: KRSNAke 1.017 (22 Feb 1996)',0